﻿using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Text;
using Model;

namespace Common.DBHelp
{
    public class MySqlContext:DbContext
    {
        public MySqlContext(DbContextOptions<MySqlContext> options)
            : base(options)
        {
        }
        public DbSet<Sysuser> Sysuser { get; set; }
        public DbSet<Menu> Menu { get; set; }
        public DbSet<Commodity> Commodity { get; set; }
        public DbSet<Model.Type> Type { get; set; }
        public DbSet<Model.Error> Error { get; set; }
        public DbSet<Model.HomeBanner> HomeBanner { get; set; }
    }
}
